#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int a[10] = { 100, 2, 32, 4, 5, 66, 7, 8, 9, 10 };
	int i = 0, j = 0;
	int max = a[0];
	for (i = 0; i < 10; i++)
	{
		if (max < a[i + 1])
		{
			j = i + 1;
			max = a[j];
		}
	}
	printf("max=%d", max);
	return 0;
}